package com.hz.ruoyifarmbase.farm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.core.web.domain.AgrBaseEntity;
import lombok.Data;
import lombok.ToString;

import java.util.Map;

/**
 * @author 侯文波
 * @date 2025/3/7 9:11
 * @description:  种植批次
 */
@Data
@ToString
@TableName("agr_base_batch")
public class AgrBaseBatch extends AgrBaseEntity {

    /**  批次id  */
    @TableId(value = "batch_id", type = IdType.AUTO)
    private Long batchId;

    /**  批次名称  */
    private String batchName;

    /**  地块id  */
    private Long plotsId;

    /**  品种id  */
    private Long breedId;

    /**  批次状态  */
    private Integer status;

    /**  计划开始时间  */
    private String startTime;

    /**  计划结束时间  */
    private String endTime;



    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @TableField(exist = false)
    private Map<String, Object> params;

}
